﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SJ.Platform.Cache.RabbitMQ
{
    public class RabbitMQConfig
    {
        public string Host { get; set; }
        public int Port { get; set; }
        public string User { get; set; }
        public string Password { get; set; }
        public string ExchangeName { get; set; }
        public bool Durable { get; set; }
        public string QueueName { get; set; } = "SJ.Platform.RabbitMQ.Queue";
        public int CostomerCount { get; set; } = 1;
        public string RoutingKey { get; set; } = "SJ.Platform.RabbitMQ.Routing";
        public string Direct { get; set; } = "direct";
    }
}